package com.itheima.spring.test;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author ：sean
 * @date ：Created in 2020/7/7
 * @description ：
 * @version: 1.0
 */
public class UseAB {
	@Autowired
	private A a;
	@Autowired
	private B b;

	public void printAB(){
		a.printA();
		b.printB();
	}

}
